import { request } from '@umijs/max';

export async function login(body) {
  return request('/comment/token', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
  });
}
